Categories

Versions

You are viewing the RapidMiner Studio documentation for version 9.10 - Check here for latest version

Write SFTP (Operator Toolbox)

Synopsis

This operator uploads a file to a SFTP server.

Description

To upload a local file to a SFTP server, a SFTP connection to this server has to be defined. Connection can be defined by using Connections->Create Connection on the top panel.

The file to upload is given as a FileObject at the fil inputport. File objects can be created with operators like Write CSV or Write File.

Input

  • con (Connection)

    The connection object specifying the SFTP connection.

  • fil (File)

    The file you want to upload.

Output

  • con (Connection)

    The passed through connection object.

  • fil (File)

    The passed through file object.

Parameters

  • remote_directory The remote directory on the SFTP server to which the file is uploaded. Note, the remote root directory is represented by '//' Range:
  • remote_filename The name the file should have on the server. Range:
  • overwrite If this parameter is set to true, a file with the same name in the remote directory on the server is overwritten. Range:

Tutorial Processes